package com.community.service;

import com.community.dto.MakePurchaseDto;
import com.community.dto.PurchaseOrderDto;
import com.community.pojo.Product;
import com.community.pojo.PurchaseOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.community.utils.PageUtils;
import com.community.vo.ProductVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author TangHaoSong Fly ChenJie HeYuHang
 * @since 2024-05-15
 */
public interface IPurchaseOrderService extends IService<PurchaseOrder> {

    //获取最大id
    String getMaxDesignId();
    //制定采购表和采购明细表
    void makePurchaseOrder(List<MakePurchaseDto> makePurchaseDto);
    //分页查询所有采购单
    PageUtils<PurchaseOrder> searchAll(int pageNo, int pageSize);
    List<PurchaseOrder> purchaseOrderList();
    //分页查询所有已审核的采购单
    //分页查询所有采购单
    PageUtils<PurchaseOrder> queryAllChecked(int pageNo, int pageSize);
}
